:root {
	--main-color: #00c8c8;
	--surely-table-primary-color: var(--main-color) !important;
}

* {
	height: auto;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a,
.ant-btn-link {
	color: var(--main-color);
}
.ant-btn-link:hover,
a:hover {
	color: var(--main-color) !important;
	opacity: 0.7;
}

/* 表格单元格样式重置 */
.ant-table-tbody > tr > td {
	line-height: 1em !important;
	padding: 9px !important;
}

.ant-table-measure-row {
	visibility: collapse;
}

/* loading加载样式重置 */
.ant-spin-nested-loading > div > .ant-spin {
	max-height: 100% !important;
}

/* 自定义指令样式重置 */
#v-loading,
#v-empty {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background: rgba(255, 255, 255, 0.7);
	z-index: 2;
}

#v-empty,
.ant-empty-description {
	background: #fff;
	z-index: 1;
	color: rgba(0, 0, 0, 0.5);
}
/* 自定义指令样式重置end */

.ant-card {
	margin-bottom: 10px !important;
	box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
}

.ant-picker {
	width: 100%;
}

.ant-page-header-footer {
	margin-top: 5px !important;
}

/* 表格里面空态图重置 */
.surely-table-empty-container .flex,
.ant-table-cell .flex {
	height: 300px;
}
.surely-table-empty-container svg,
.ant-table-cell .ant-empty-image svg {
	width: 200px !important;
}
/* 表格里面空态图重置 end */

#nprogress .bar {
	background: var(--main-color) !important;
}

/* 页面title自定义时的吸顶公共样式 */
.header-sticky {
	margin: -15px -15px 0;
	position: sticky;
	z-index: 1;
	top: -15px;
}

/* stable   样式重置 */
.surely-table-body-cell-range-selected:not(.surely-table-cell-inline-edit),
.surely-table-body-cell-range-selected.surely-table-body-cell-range-single-cell {
	border-color: transparent !important;
	background-color: transparent !important;
}

/* 拖拽添加样式 */
.drag {
	cursor: grab;
}
.dragging {
	cursor: grabbing;
}
